import request from '@/utils/request'
export function doAdd(data) {
  //添加
  return request({
    url: '/adminapi/startactorinfo/save',
    method: 'post',
    data,
  })
}
export function serach(params) {
  //查询
  return request({
    url: '/adminapi/starteamleader/keyforinfo',
    method: 'get',
    params,
    headers: { 'content-type': 'multipart/form-data' }, //请求头
  })
}
//
export function roleId(params) {
  //查询
  return request({
    url: '/adminapi/actorclassify/list',
    method: 'get',
    params,
  })
}
export function getList(params) {
  //演员列表
  return request({
    url: '/adminapi/staractorinfo/list', //cha
    method: 'get',
    params,
  })
}
export function doEdit(data) {
  return request({
    url: '/adminapi/startactorinfo/update', //编辑
    method: 'post',
    data,
  })
}
export function check(data) {
  return request({
    url: '/adminapi/startactorinfo/check', //修改审核状态
    method: 'post',
    data,
  })
}
export function checktwo(data) {
  return request({
    url: '/adminapi/staruser/realcheck', //修改实名信息审核状态
    method: 'post',
    data,
  })
}
export function geturl(params) {
  return request({
    url: '/adminapi/file/get', //获取图片路径
    method: 'get',
    params,
  })
}
export function getlistall(params) {
  return request({
    url: '/adminapi/staractorinfo/norelateuserlis', //获取未实名的列表
    method: 'get',
    params,
  })
}
export function getlvli(params) {
  return request({
    url: '/adminapi/actorresume/list', //获取履历列表
    method: 'get',
    params,
  })
}
export function getxiangce(params) {
  return request({
    url: '/mobile/actorphotoalbum/list', //获取相册列表
    method: 'get',
    params,
  })
}
export function getvideo(params) {
  return request({
    url: '/mobile/actorvideocollect/list', //获取相册列表
    method: 'get',
    params,
  })
}
export function getdafen(data) {
  return request({
    url: '/adminapi/actorscore/list', //获取打奋列表
    method: 'post',
    data,
  })
}
export function genggai(data) {
  return request({
    url: '/adminapi/staractorinfo/updateLocked', //更改锁定状态
    method: 'post',
    data,
  })
}
export function gettwoList(params) {
  //演员未实名列表
  return request({
    url: '/adminapi/staractorinfo/norelateuserlist', //cha
    method: 'get',
    params,
  })
}
export function genggailing(data) {
  //演员申诉领队解冻
  return request({
    url: '/adminapi/feedback/changeLocked', //cha
    method: 'post',
    data,
  })
}
export function stayArea(params) {
  //演员常驻区域
  return request({
    url: '/mobile/starareacrewjob/list', //cha
    method: 'get',
    params,
  })
}
